<template>
  <router-view />
</template>

<script lang="ts">
  import { defineComponent } from 'vue'
  import { provideI18n } from './i18nPlugin'
  import ch_language from './i18nPlugin/ch_language.js'
  import es_language from './i18nPlugin/es_language.js'

  export default defineComponent({
    setup() {
      provideI18n({
        locale: 'en',
        messages: {
          en: ch_language,
          es: es_language
        }
      })
      return {}
    }
  })
</script>
